

<template>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
        <van-swipe-item>
          <img src="../assets/img/b1.png" alt="" />
        </van-swipe-item>
        <van-swipe-item>
          <img src="../assets/img/b2.png" alt="" />
        </van-swipe-item>
        <van-swipe-item>
          <img src="../assets/img/b3.png" alt="" />
        </van-swipe-item>
        <van-swipe-item>
          <img src="../assets/img/b4.png" alt="" />
        </van-swipe-item>
      </van-swipe>
</template>
<script setup>
</script>
<style scoped lang="less">
.my-swipe {
  width: calc(100% - 40px);
  margin: 20px;
  border-radius: 10px;
  overflow: hidden;
}
.my-swipe img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
</style>
